package org.will.test.exception;

import org.will.test.domain.PayError;

/**
 * Created by jsycwangwei on 2017/7/9.
 */
public class PayErrException extends Exception{
    private PayError error;
    public PayErrException(PayError error) {
        super(error.toString());
        this.error = error;
    }

    public PayError getError() {
        return error;
    }
}
